Optimal. Leaf size=231 \[ -\frac {2 (b+2 c x) \sqrt {d+e x}}{b^2 \sqrt {b x+c x^2}}+\frac {4 \sqrt {c} \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}-\frac {2 (2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} F\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 231, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.304, Rules used = {750, 857, 729,
113, 111, 118, 117} \begin {gather*} -\frac {2 \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {\frac {e x}{d}+1} (2 c d-b e) F\left (\text {ArcSin}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {b x+c x^2} \sqrt {d+e x}}+\frac {4 \sqrt {c} \sqrt {x} \sqrt {\frac {c x}{b}+1} \sqrt {d+e x} E\left (\text {ArcSin}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {b x+c x^2} \sqrt {\frac {e x}{d}+1}}-\frac {2 (b+2 c x) \sqrt {d+e x}}{b^2 \sqrt {b x+c x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 111
Rule 113
Rule 117
Rule 118
Rule 729
Rule 750
Rule 857
Rubi steps
\begin {align*} \int \frac {\sqrt {d+e x}}{\left (b x+c x^2\right )^{3/2}} \, dx &=-\frac {2 (b+2 c x) \sqrt {d+e x}}{b^2 \sqrt {b x+c x^2}}+\frac {2 \int \frac {\frac {b e}{2}+c e x}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{b^2}\\ &=-\frac {2 (b+2 c x) \sqrt {d+e x}}{b^2 \sqrt {b x+c x^2}}+\frac {(2 c) \int \frac {\sqrt {d+e x}}{\sqrt {b x+c x^2}} \, dx}{b^2}-\frac {(2 c d-b e) \int \frac {1}{\sqrt {d+e x} \sqrt {b x+c x^2}} \, dx}{b^2}\\ &=-\frac {2 (b+2 c x) \sqrt {d+e x}}{b^2 \sqrt {b x+c x^2}}+\frac {\left (2 c \sqrt {x} \sqrt {b+c x}\right ) \int \frac {\sqrt {d+e x}}{\sqrt {x} \sqrt {b+c x}} \, dx}{b^2 \sqrt {b x+c x^2}}-\frac {\left ((2 c d-b e) \sqrt {x} \sqrt {b+c x}\right ) \int \frac {1}{\sqrt {x} \sqrt {b+c x} \sqrt {d+e x}} \, dx}{b^2 \sqrt {b x+c x^2}}\\ &=-\frac {2 (b+2 c x) \sqrt {d+e x}}{b^2 \sqrt {b x+c x^2}}+\frac {\left (2 c \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x}\right ) \int \frac {\sqrt {1+\frac {e x}{d}}}{\sqrt {x} \sqrt {1+\frac {c x}{b}}} \, dx}{b^2 \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}-\frac {\left ((2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}\right ) \int \frac {1}{\sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}}} \, dx}{b^2 \sqrt {d+e x} \sqrt {b x+c x^2}}\\ &=-\frac {2 (b+2 c x) \sqrt {d+e x}}{b^2 \sqrt {b x+c x^2}}+\frac {4 \sqrt {c} \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {d+e x} E\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {1+\frac {e x}{d}} \sqrt {b x+c x^2}}-\frac {2 (2 c d-b e) \sqrt {x} \sqrt {1+\frac {c x}{b}} \sqrt {1+\frac {e x}{d}} F\left (\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {-b}}\right )|\frac {b e}{c d}\right )}{(-b)^{3/2} \sqrt {c} \sqrt {d+e x} \sqrt {b x+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 4.39, size = 186, normalized size = 0.81 \begin {gather*} \frac {2 \sqrt {\frac {b}{c}} (d+e x)+4 i e \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} E\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right )|\frac {c d}{b e}\right )-2 i e \sqrt {1+\frac {b}{c x}} \sqrt {1+\frac {d}{e x}} x^{3/2} F\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {b}{c}}}{\sqrt {x}}\right )|\frac {c d}{b e}\right )}{b \sqrt {\frac {b}{c}} \sqrt {x (b+c x)} \sqrt {d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.46, size = 352, normalized size = 1.52
method | result | size |
default | \(\frac {2 \left (\sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {\left (e x +d \right ) c}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, \EllipticF \left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{2} e -2 \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {\left (e x +d \right ) c}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, \EllipticF \left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b c d -2 \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {\left (e x +d \right ) c}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, \EllipticE \left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b^{2} e +2 \sqrt {\frac {c x +b}{b}}\, \sqrt {-\frac {\left (e x +d \right ) c}{b e -c d}}\, \sqrt {-\frac {c x}{b}}\, \EllipticE \left (\sqrt {\frac {c x +b}{b}}, \sqrt {\frac {b e}{b e -c d}}\right ) b c d -2 c^{2} e \,x^{2}-b e x c -2 x \,c^{2} d -b c d \right ) \sqrt {x \left (c x +b \right )}}{x \left (c x +b \right ) b^{2} c \sqrt {e x +d}}\) | \(352\) |
elliptic | \(\frac {\sqrt {x \left (e x +d \right ) \left (c x +b \right )}\, \left (-\frac {2 \left (c e \,x^{2}+c d x \right )}{b^{2} \sqrt {\left (\frac {b}{c}+x \right ) \left (c e \,x^{2}+c d x \right )}}-\frac {2 \left (c e \,x^{2}+b e x +c d x +b d \right )}{b^{2} \sqrt {x \left (c e \,x^{2}+b e x +c d x +b d \right )}}+\frac {2 \left (\frac {b e -c d}{b^{2}}+\frac {c d}{b^{2}}\right ) b \sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, \EllipticF \left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{c \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+x b d}}+\frac {4 e \sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}\, \sqrt {\frac {x +\frac {d}{e}}{-\frac {b}{c}+\frac {d}{e}}}\, \sqrt {-\frac {c x}{b}}\, \left (\left (-\frac {b}{c}+\frac {d}{e}\right ) \EllipticE \left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )-\frac {d \EllipticF \left (\sqrt {\frac {\left (\frac {b}{c}+x \right ) c}{b}}, \sqrt {-\frac {b}{c \left (-\frac {b}{c}+\frac {d}{e}\right )}}\right )}{e}\right )}{b \sqrt {c e \,x^{3}+b e \,x^{2}+c d \,x^{2}+x b d}}\right )}{\sqrt {x \left (c x +b \right )}\, \sqrt {e x +d}}\) | \(421\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.40, size = 370, normalized size = 1.60 \begin {gather*} -\frac {2 \, {\left ({\left (2 \, c^{2} d x^{2} + 2 \, b c d x - {\left (b c x^{2} + b^{2} x\right )} e\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right ) + 6 \, {\left (c^{2} x^{2} + b c x\right )} \sqrt {c} e^{\frac {3}{2}} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right )\right ) + 3 \, {\left (2 \, c^{2} x + b c\right )} \sqrt {c x^{2} + b x} \sqrt {x e + d} e\right )} e^{\left (-1\right )}}{3 \, {\left (b^{2} c^{2} x^{2} + b^{3} c x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {d + e x}}{\left (x \left (b + c x\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {d+e\,x}}{{\left (c\,x^2+b\,x\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________